
 function hideHL2hud(name) 
 	for k, v in pairs{"CHudHealth", "CHudBattery", "CHudAmmo", "CHudSecondaryAmmo"} do 
 		if name == v then return false end 
 	end 
 end 

 hook.Add("HUDShouldDraw", "hideHL2hud", hideHL2hud) 

//
//function myHUD()
//
//	local client = LocalPlayer() 
//	if !client:Alive() then return end 
//		
//	local screenWidth = ScrW()
//	local screenHeight = ScrH()
//
//	local timelineHeight = 0.15;
//
//	local padding = 0.02;
//	local leftAnchor = screenWidth * (2 * padding);
//	local topAnchor = screenHeight * (1 - timelineHeight);
//	local width = screenWidth  - (2 * leftAnchor);
//	local height = screenHeight * (1.0 - (1.0 - timelineHeight) - padding);//-  topAnchor - (2 * padding);
//	
//	draw.RoundedBox(10.0, leftAnchor, topAnchor, 
//	width, height, Color(21, 24, 21, 245))  
//	
//	//draw.RoundedBox(3.0, leftAnchor + padding, topAnchor + padding, 
//	//width - padding, height - padding * 0.2, Color(210, 240, 210, 250))
//
//	draw.SimpleText("Timeline", "ScoreboardText", 
//	leftAnchor + padding, topAnchor + padding, 
//	Color(106, 114, 166, 255), 0, 0)  
//
////	local mag_left = client:GetActiveWeapon():Clip1() // How much ammunition you have inside the current magazine 
////	local mag_extra = client:GetAmmoCount(client:GetActiveWeapon():GetPrimaryAmmoType()) // How much ammunition you have outside the current magazine 
////	local secondary_ammo = client:GetAmmoCount(client:GetActiveWeapon():GetSecondaryAmmoType())// How much ammunition you have for your secondary fire, such as the MP7's grenade launcher  
//end
//hook.Add("HUDPaint", "myHUD", myHUD)  
//
//function ENT:DrawTimeline()
//
// draw.RoundedBox(3, 5, 5, 200, 100, Color(51, 58, 51, 255))  
//	//local pos = self:GetPos() + (self:GetRight() * 1.75) + (self:GetForward() * -3.5) + (self:GetUp() * -2)
//	//local ang = self:GetAngles()
//	//ang:RotateAroundAxis(ang:Right(), -90)
//	//ang:RotateAroundAxis(ang:Up(),     90)
//	//ang:RotateAroundAxis(ang:Right(),  90)
//	//
//	//cam.Start3D2D(pos, ang, scrn)
//
//
//	//local screenWidth = ScrW()
//	//local screenHeight = ScrH()
//	//surface.DrawRect(screenWidth * 0.1,screenHeight * 0.5, 
//	//screenWidth * 0.8 ,screenHeight * 0.2, Color(15,25,55,200))
//
//
//	//cam.End3D2D()
//
//end